package com.kitty.common.schedule.task;

import com.kitty.common.utils.SpringUtils;
import com.kitty.game.activity.service.time.ZhanShenHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class ZhanShenTask implements ScheduledOfTask {


    @Override
    public void execute() {
        SpringUtils.getBean(ZhanShenHandler.class).flushNpc();
        log.info("刷新战神");
    }
}
